using Services;

public class Button_ContinueGame : MyButton
{
    private SceneController sceneController;
    private SaveManager saveManager;

    protected override void Awake()
    {
        base.Awake();
        sceneController = ServiceLocator.Get<SceneController>();
        saveManager = ServiceLocator.Get<SaveManager>();
    }

    protected override void OnClick()
    {
        saveManager.Load();
        sceneController.LoadSavedScene();
    }
}